package org.ehe.business.workstation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;

/**
 * 工位信息实体类
 * 
 * @author zhangnn
 * @date 2025-10-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_workstation")
public class Workstation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 工位ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 工位编号(4位数字,唯一)
     */
    @TableField("code")
    private String code;

    /**
     * 工位名称
     */
    @TableField("name")
    private String name;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;
}
